import java.util.Arrays;

public class Test {

    public static void main(String[] args) {
        Phone phone1 = new Phone(13533876711L, 15, 23.2);
        Phone Phone2 = new Phone(13533876712L, 18, 28.2);
        Phone Phone3 = new Phone(13533876713L, 5, 200.2);
        Phone Phone4 = new Phone(13533876714L, 15, 20.0);
        Phone Phone5 = new Phone(13533876715L, 22, 52.0);
        Phone[] phones = {phone1, Phone2, Phone3,Phone4,Phone5};
        Arrays.sort(phones);
        Arrays.stream(phones).forEach(System.out::println);
    }
}

